package com.woniuxy.commons.service;

import com.woniuxy.commons.util.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "AUTH")
public interface AuthService {
    @GetMapping("/auth/perms/{account}/{perms}")
    public ResponseResult existPerms(@PathVariable(value = "account") String account, @PathVariable(value = "perms")String perms);
}
